package org.pidan.basic.designModel.factory.factoryMethod;

/**
 * {@code @description}: 演示创建工厂的具体实例
 * {@code @author}: huangyuxin
 * {@code @date}: 2023-11-16
 */
public class Client {

    public static void main(String[] args) {
        Method aodi = new AoDiFactory().createCar();

        Method bmw = new BmwFactory().createCar();

        aodi.run();

        bmw.run();
    }
}
